﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace chess
{
    class csStep
    {
        private int _numOfSteps = 0;
        private char _direction = ' ';


        public csStep(string step)
        {
            this._numOfSteps = Convert.ToInt32(step[0]) - 48;
            this._direction = step[1];
        }

        public int Number
        {
            get { return this._numOfSteps; }
        }

        public char Direction
        {
            get { return this._direction; }
        }

    }
}
